import Vue from 'vue'
import Router from 'vue-router'
import Hello from '../components/HelloWorld'
import Index from '../Index'
import Stripe from '../pages/Stripe'

import ProductDetail from '../pages/Index/ProductDetail'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/product/detail',
      name: 'ProductDetil',
      component: ProductDetail
    },
    {
      path: '/he',
      name: 'Hello',
      component: Hello
    },
    {
      path: '/stripe',
      component: Stripe
    },
  ]
})